Skip to content

fix: interface generation in wg server generated file#32

Merged
esterlus merged 1 commit intomainfrom
este/interface
Jan 14, 2026
Merged

fix: interface generation in wg server generated file#32
esterlus merged 1 commit intomainfrom
este/interface

Conversation

@esterlus
Copy link
Contributor

[Interface] headline was skipped and thus generating an unusable wg quick conf file

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug in WireGuard configuration file generation where the [Interface] section header was being skipped, resulting in an unusable configuration file. The fix ensures the header line is included in the extracted interface section.

Changes:

  • Added the [Interface] header line to the extracted output in extract_interface_section
  • Updated test assertions to verify the header is present

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@esterlus esterlus merged commit 4f49cc7 into main Jan 14, 2026
4 checks passed
@esterlus esterlus deleted the este/interface branch January 14, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants